package com.example.orderserver.exception;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author benjamin_5
 * @Description
 * @date 2023/3/10
 */
@Data
public class FeignMyException extends Exception{

    private Integer code;
    private String message;

    public FeignMyException(Integer code, String message) {
        super();
        this.code = code;
        this.message = message;
    }
}
